package com.tydic.daily.user.vo;

import java.util.List;

import com.tydic.daily.user.po.DailyPermission;

/**
 * 用户身份信息，存入session 由于tomcat将session会序列化在本地硬盘上，所以使用Serializable接口
 * 
 */
public class ActiveUser implements java.io.Serializable {
	private static final long serialVersionUID = 6706006441953106205L;
	private String userid;// 用户id（主键）
	private String usercode;// 用户账号
	private String username;// 用户名称

	private List<DailyPermission> permissions;// 权限

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public List<DailyPermission> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<DailyPermission> permissions) {
		this.permissions = permissions;
	}
}
